package at.jku.ce.brokerplatform;

import java.util.ArrayList;
import java.util.List;

import at.jku.ce.stockexchange.service.Exchange;
import at.jku.ce.stockexchange.service.Stock;

public class User {

	private String username, password, iban, bic;
	private double debt;
	private List<Exchange> listExchanges;
	private List<Stock> listStocks;

	public User(String username, String password, String iban, String bic) {
		this.setUsername(username);
		this.setPassword(password);
		this.setIban(iban);
		this.setBic(bic);
		this.setListExchanges(new ArrayList<Exchange>());
		this.setListStocks(new ArrayList<Stock>());
	}

	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * @param username
	 *            the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * @return the password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @param password
	 *            the password to set
	 */
	public void setPassword(String password) {
		this.password = password;
	}
	
	/**
	 * @return the iban
	 */
	public String getIban() {
		return iban;
	}

	/**
	 * @param iban the iban to set
	 */
	public void setIban(String iban) {
		this.iban = iban;
	}

	/**
	 * @return the bic
	 */
	public String getBic() {
		return bic;
	}

	/**
	 * @param bic the bic to set
	 */
	public void setBic(String bic) {
		this.bic = bic;
	}

	/**
	 * @return the debt
	 */
	public double getDebt() {
		return debt;
	}

	/**
	 * @param debt the debt to set
	 */
	public void setDebt(double debt) {
		this.debt = debt;
	}

	/**
	 * @return the listExchanges
	 */
	public List<Exchange> getListExchanges() {
		return listExchanges;
	}

	/**
	 * @param listExchanges
	 *            the listExchanges to set
	 */
	public void setListExchanges(List<Exchange> listExchanges) {
		this.listExchanges = listExchanges;
	}

	/**
	 * @return the listStocks
	 */
	public List<Stock> getListStocks() {
		return listStocks;
	}

	/**
	 * @param listStocks
	 *            the listStocks to set
	 */
	public void setListStocks(List<Stock> listStocks) {
		this.listStocks = listStocks;
	}

}
